package com.dubbo.homework;

import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ComponentService {

    @Reference
    private HelloService helloService;

    public void setHelloServiceA(String message){
        helloService.sayHelloA(message);
    }

    public void setHelloServiceB(String message){
        helloService.sayHelloB(message);
    }

    public void setHelloServiceC(String message){
        helloService.sayHelloC(message);
    }
}
